package com.youan.pangu.base.bean.result;

import java.io.Serializable;

/**
 * 业务操作状态为错误
 * @author xsh
 *
 */
public class ErrorResponse extends AbsResponseBean implements Serializable {

	private ErrorType errorType;


	public ErrorResponse(String content) {
		super(ResponseType.ERROR, content);
		this.errorType = ErrorType.BUSINESS_ERROR;
	}

	public ErrorResponse(String content, ErrorType errorType){
		super(ResponseType.ERROR, content);
		this.errorType = errorType;
	}

	public ErrorType getErrorType() {
		return errorType;
	}
}
